package org.credo.time;

import java.util.Calendar;
import java.util.Date;


public class TimeTest {

	public static void main(String[] args) {
		Date curDate = new Date(System.currentTimeMillis());
		System.out.println(curDate);
		
		Calendar cc=Calendar.getInstance();
		cc.setTime(curDate);
		cc.add(Calendar.DATE, 11);
		
		Date date=cc.getTime();
		System.out.println(date);
	}

}
